USE [master]
GO
IF EXISTS (SELECT name FROM sys.databases WHERE name='HostalDataBase')
DROP DATABASE [HostalDataBase]
GO

/****** Object:  Database [HostalDataBase]    Script Date: 10/08/2012 12:06:03 ******/
CREATE DATABASE [HostalDataBase] ON  PRIMARY 
( NAME = N'HostalDataBase', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\DATA\HostalDataBase.mdf' , SIZE = 3072KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
 LOG ON 
( NAME = N'HostalDataBase_log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\DATA\HostalDataBase_log.ldf' , SIZE = 1024KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)
GO

ALTER DATABASE [HostalDataBase] SET COMPATIBILITY_LEVEL = 100
GO

IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
begin
EXEC [HostalDataBase].[dbo].[sp_fulltext_database] @action = 'enable'
end
GO

ALTER DATABASE [HostalDataBase] SET ANSI_NULL_DEFAULT OFF 
GO

ALTER DATABASE [HostalDataBase] SET ANSI_NULLS OFF 
GO

ALTER DATABASE [HostalDataBase] SET ANSI_PADDING OFF 
GO

ALTER DATABASE [HostalDataBase] SET ANSI_WARNINGS OFF 
GO

ALTER DATABASE [HostalDataBase] SET ARITHABORT OFF 
GO

ALTER DATABASE [HostalDataBase] SET AUTO_CLOSE OFF 
GO

ALTER DATABASE [HostalDataBase] SET AUTO_CREATE_STATISTICS ON 
GO

ALTER DATABASE [HostalDataBase] SET AUTO_SHRINK OFF 
GO

ALTER DATABASE [HostalDataBase] SET AUTO_UPDATE_STATISTICS ON 
GO

ALTER DATABASE [HostalDataBase] SET CURSOR_CLOSE_ON_COMMIT OFF 
GO

ALTER DATABASE [HostalDataBase] SET CURSOR_DEFAULT  GLOBAL 
GO

ALTER DATABASE [HostalDataBase] SET CONCAT_NULL_YIELDS_NULL OFF 
GO

ALTER DATABASE [HostalDataBase] SET NUMERIC_ROUNDABORT OFF 
GO

ALTER DATABASE [HostalDataBase] SET QUOTED_IDENTIFIER OFF 
GO

ALTER DATABASE [HostalDataBase] SET RECURSIVE_TRIGGERS OFF 
GO

ALTER DATABASE [HostalDataBase] SET  DISABLE_BROKER 
GO

ALTER DATABASE [HostalDataBase] SET AUTO_UPDATE_STATISTICS_ASYNC OFF 
GO

ALTER DATABASE [HostalDataBase] SET DATE_CORRELATION_OPTIMIZATION OFF 
GO

ALTER DATABASE [HostalDataBase] SET TRUSTWORTHY OFF 
GO

ALTER DATABASE [HostalDataBase] SET ALLOW_SNAPSHOT_ISOLATION OFF 
GO

ALTER DATABASE [HostalDataBase] SET PARAMETERIZATION SIMPLE 
GO

ALTER DATABASE [HostalDataBase] SET READ_COMMITTED_SNAPSHOT OFF 
GO

ALTER DATABASE [HostalDataBase] SET HONOR_BROKER_PRIORITY OFF 
GO

ALTER DATABASE [HostalDataBase] SET  READ_WRITE 
GO

ALTER DATABASE [HostalDataBase] SET RECOVERY SIMPLE 
GO

ALTER DATABASE [HostalDataBase] SET  MULTI_USER 
GO

ALTER DATABASE [HostalDataBase] SET PAGE_VERIFY CHECKSUM  
GO

ALTER DATABASE [HostalDataBase] SET DB_CHAINING OFF 
GO

USE [HostalDataBase]
GO

/****** Object:  Table [dbo].[usuarios]    Script Date: 10/08/2012 12:14:31 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[usuarios](
	[nombre] [nvarchar](50) NULL,
	[contrasena] [nvarchar](50) NULL
) ON [PRIMARY]

GO
